#@author: liu Chanchan
#The code is my own work.
#Identify the title of the article
title = input()

#Covert the letters to lowercase
lowercase_title = title.lower()

# Split the lowercase title into individual words
words = lowercase_title.split()

# Filter out the words "a" and "the"
filtered_words = [word for word in words if word not in {'a', 'the'}]

# Join the filtered words with hyphens
hyphenated_slug = '-'.join(filtered_words)

# Truncate the slug to a maximum of 25 characters
slug = hyphenated_slug[:25]

# Display the final slug
print(f"Slug = {slug}")